﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionLine.Domain.Site
{
    /// <summary>
    /// 站点表
    /// </summary>
    public  class SiteModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 站点主键
        /// </summary>
        public int SiteId { get; set; }
        /// <summary>
        /// 站点编号
        /// </summary>
        public string SiteCode { get; set; }
        /// <summary>
        /// 站点名称
        /// </summary>
        public string SiteName { get; set; }
        /// <summary>
        /// 站点类型
        /// </summary>
        public int SiteType { get; set; }
        /// <summary>
        /// 车间外键
        /// </summary>
        public int CarId { get; set; }
        /// <summary>
        /// 生产线外键
        /// </summary>
        public int LineId { get; set; }
        /// <summary>
        /// 工序
        /// </summary>
        public int ProcessId { get; set; }
        /// <summary>
        /// 站点位置
        /// </summary>
        public string SiteLocal {  get; set; }
      
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel {  get; set; }=false;
    }
}
